package com.huizu.project.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.huizu.common.annotation.Excel;
import com.huizu.common.core.domain.BaseEntity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 年级管理对象 pro_nj
 * 
 * @author zhangmx
 * @date 2024-05-11
 */
@Data
public class ProNj implements Serializable {
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /**
     * 学校同步id
     */
    private String universityId;

    /** 父ID */
    private String pId;

    /** 编号 */
    @Excel(name = "编号")
    private String number;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private String xyName;

    private String xyId;

    private List<String> njIds;

    public void setpId(String pId)
    {
        this.pId = pId;
    }

    public String getpId()
    {
        return pId;
    }
}
